﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Editor
{
    /*
    class ObjectInspector
    {
        private Object mSelectObject;

        public Object SelectObject
        {
            get
            {
                return SelectObject;
            }
            set
            {
                mSelectObject = value;
                Refresh();
            }
        }

        private void AddItem(object value)
        {
            Type type = value.GetType();

            foreach (var it in type.GetFields())
            {
                //pod type?
                if (it.FieldType.Namespace == "System")
                {
                    //
                }
                else
                {
                    AddItem(it.GetValue(value));
                }
            }
        }

        private void Refresh()
        {
            AddItem(mSelectObject);
        }
    }*/
}
